package staticTest.innerStaticClass;

public class Outer {

	private int a;
	private static int staticA;
	
	static class StaticInner
	{
		
//		int t=a; //会报错
		int a1=staticA;  //没问题
		
		public void doSomething()
		{
			System.out.println("执行Inner Class 普通方法");
		}
		
		public static void doStatic()
		{
			System.out.println("执行Inner Class 静态方法");
		}
		
	}
	
	class Inner
	{
		int t=a;//不会报错
		
	}
	
	public static void main(String[] args) {
		StaticInner.doStatic();
	}
}
